package com.zzxy.mybatis34.entity;

import javax.xml.crypto.Data;
import java.util.Date;

public class User {
    private  int id;
    private String username;
    private  Date birthday;
    private String address;
    private String sex;
    public User(){
    }
    public User(String username,Date birthday,String address,String sex){
        this.username = username;
        this.birthday = birthday;
        this.address = address;
        this.sex = sex;
    }
    @Override
    public String toString(){
        return "User{"+
                "id=" + id +
                ",username='" + username + '\'' +
                ",data=" + birthday +
                ",password='" + address + '\'' +
                ",sex='" + sex + '\'' +
                '}';
    }
    public Date getBirthday(){ return birthday;}
    public void setBirthday(Date birthday){this.birthday = birthday;
    }
    public String getAddress(){ return address;}
    public int getId(){ return id;}
    public void setId(int id){ this.id = id;}
    public String getUsername(){ return username;}
    public void setUsername(String username){this.username = username;}
    public Date getData(){return birthday;
    }
    public void setData(Data data){ this.username = username;}
    public String getSex(){ return sex;}
    public void setSex(String sex){ this.sex = sex;}
    public void setAddress(String 枣庄){


  }
}
